@ECHO OFF
set NumberOfLines=3
set NumberOfPassengers=10
call scalac > NUL 2> NUL
IF NOT errorlevel 0	echo "Scala appears not to be in the PATH. This compilation might fail."
IF NOT exist bin echo "Have you compiled the program?"
call scala -classpath bin Main %NumberOfLines% %NumberOfPassengers%